import request from "@/utils/request";
/**
 * 窗口规范管理 上面  获取窗口数量和根据预警类型获取预警数据
 * @returns
 */
export const getWindowCount = (params) => request.get('/app/data/getWindowCountAndWarnCount', params);


/**
 * 获取工装规范率和窗口整洁度
 * @returns
 */
export const getWindowFrockSpecificationRate = () =>
	request.get('/app/data/getWindowFrockSpecificationRate');

/**
 * 获取工装规范率和窗口整洁度
 * @returns
 */
export const getWinWarning= (params) =>
	request.get('/app/data/win-warning', params);